home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 13
/
Aminet 13 - August 1996.iso
/
Aminet
/
dev
/
e
/
Server10.lha
/
testserv.e
< prev
Wrap
Text File
|
1996-05-17
|
529b
|
30 lines
/*
**
** ServerPort v1.0 by Dr. Ice/lISENCE
**
** This utility will send a message to the current port (if found)
** It will return TRUE or FALSE if anything goes wrong..
**
** This E module is specially made for /X coders, thanks to Splash
** for the ASM-routine..
**
** The usage is quite easy:
**
** Usage: Portname, command
**
** See SERVERCONST.e for commands
**
*/
MODULE '*serverconst',
'*server'
DEF open
PROC main()
IF (open:=serverPort('AEServer.0',SV_CHAT))=NIL
WriteF('Error opening server\n')
ENDIF
ENDPROC